<script language="javascript" src="<?php echo JQUERY ?>jquery.miniColors.min.js"></script>
<form action="<?php echo KAMAR ?>add_kamar_process">
<h3 class="center">TAMBAH KAMAR</h3>
	<table class="tabelket" width="600px">
	<tr>
		<td class="right" width="50%">Nama kamar:</td>
		<td class="left" width="50%"><input name="nama" class="panjang"/></td>
	</tr>
	<tr>
		<td class="right">Status huni:</td>
		<td class="left"><select name="status_huni">
        <option>Available</option>
        <option>Confirmed</option>
        <option>Checked</option>
        <option>Unconfirmed</option>
        <option>Dibersihkan</option>
        <option>Rusak</option>
        <option>Direnovasi</option>
    </select></td>
	</tr>
	<tr>
		<td class="right">Tipe letak kamar:</td>
		<td class="left"><select name="tipe_letak_kamar">
        <option>Bungalow</option>
        <option>Lantai</option>
    </select></td>
	</tr>
	<tr>
		<td class="right">Nomor letak kamar:</td>
		<td class="left"><input name="no_letak_kamar" class="panjang"/></td>
	</tr>
	<tr>
		<td class="right">Nomor kamar:</td>
		<td class="left"><input name="no_kamar" class="panjang"/></td>
	</tr>
	<tr>
		<td class="right">Kategori:</td>
		<td class="left"><select name='id_kategori_kamar'>
        <?php
        for($i=0;$i<count($kategori_kamar);$i++)
        {
            ?>
        <option value="<?php echo $kategori_kamar[$i]['id'] ?>"><?php echo $kategori_kamar[$i]['nama'] ?></option>
        <?php
        }
        ?>
    </select></td>
	</tr>
	<tr>
		<td class="right">Adjoining room dengan:</td>
		<td class="left"><?php for($i=0;$i<count($kamar);$i++) {?>
		    <input type="checkbox" name="adjoining[]" value="<?php echo $kamar[$i]['id'] ?>"><?php echo $kamar[$i]['nama'] ?></input><br />
		    <?php } ?></td>
	</tr>
	<tr>
		<td class="right">&nbsp;</td>
		<td class="left"><input type="submit" value="Submit" class="tombol"></td>
	</tr>
	</table>

</form>